<?php
class Cip_settings_m extends MY_Model {
	/**
	 * Update an existing category
	 * @access public
	 * @param int $id The ID of the category
	 * @param array $input The data to update
	 * @return bool
	 */
	public function update($id, $value)
	{
		return parent::update($id, array(
			'value'	=> $value
		));
	}
	function get($name)
	{
		$this->db->where(array('name' => $name));
		return $this->db->get('cip_settings')->row();
	}
}